<?php 
include './functions.php';
$data = include './data.php';
$id = intval($_GET['id']);
unset ($data[$id]);
file_put_contents('./data.php', "<?php\r\nreturn " . var_export($data , true) . "\r\n ?>");
success('删除成功', './Index.php')

 ?>